{include file="header.tpl.php"}


<div class="titleFull">

	<div class="wrapper">

		<h1 style="line-height: 100px; margin: 0px;">Dashboard</h1>

	</div>

</div>


<div class="titleBlueBar"></div>




<div class="content2">

	<div class="wrapper">

		<div class="h30"></div>

		<div class="boxLeft2">



			{if $news ne ""}
			{foreach item=alert from=$news name=n}

			<div class="newsTitle"><img src="{$SITE_URL}images/i_light.png" border="0" align="absmiddle"> &nbsp; <a href="{$SITE_URL}news.php?nid={$alert.id}" target="_blank">{$alert.title}</a> - <font color="#999999">{$alert.date}</font></div><br>
			{$alert.desc}&nbsp;&nbsp;<a href="{$SITE_URL}news.php?nid={$alert.id}" target="_blank">More &raquo;</a>
			<br><br>

			{/foreach}
			{/if}

			<br>
			<div class="dottedline"></div>
			<br>

			<div class="boxLeft2Left"><h3>Earnings Overview Graph</h3></div>
			<div class="boxLeft2Right" style="margin-top: 20px;"><a href="#" id="curmonth_graph">This Month</a> | <a href="#" id="lastmonth_graph">Last Month</a></div>

			<br><br><br>

			<iframe src="{$SITE_URL}overview_graph.php" id="graphFrame" style="width:670px; height:280px; border:0; overflow:hidden; " scrolling="no" ></iframe>




			<!--Earn Summary-->
			<div class="h10"></div>

			<h3>Earnings Summary</h3>

			<table style="border:1px solid #cccccc; width:670px;" cellpadding="0" cellspacing="0">
			<tr style="background:#fffee8; height:25px; color: #00a0c2;">
				<td colspan="2">&nbsp;&nbsp;Download Earnings</td>    <td colspan="2" style="border-left:1px solid #cccccc;">&nbsp;&nbsp;Referral Commissions</td>
			</tr>

			<tr style="height:25px;">
			  <td style="border-top:1px solid #cccccc;">&nbsp;&nbsp;Today</td><td style="border-top:1px solid #cccccc; border-left:1px solid #cccccc">&nbsp;&nbsp;${$today_downloads_earnings}</td>  <td style="border-top:1px solid #cccccc; border-left:1px solid #cccccc">&nbsp;&nbsp;Today</td><td style="border-top:1px solid #cccccc; border-left:1px solid #cccccc">&nbsp;&nbsp;${$today_referrals_earnings}</td>
			</tr>



			<tr style="height:25px; background:#f0f0f0">
			  <td style="border-top:1px solid #cccccc;">&nbsp;&nbsp;Yesterday</td><td style="border-top:1px solid #cccccc; border-left:1px solid #cccccc">&nbsp;&nbsp;${$yesterday_downloads_earnings}</td>  <td style="border-top:1px solid #cccccc; border-left:1px solid #cccccc">&nbsp;&nbsp;Yesterday</td><td style="border-top:1px solid #cccccc; border-left:1px solid #cccccc">&nbsp;&nbsp;${$yesterday_referrals_earnings}</td>
			</tr>

			<tr style="height:25px;">
			  <td style="border-top:1px solid #cccccc;">&nbsp;&nbsp;This Month</td><td style="border-top:1px solid #cccccc; border-left:1px solid #cccccc">&nbsp;&nbsp;${$month_downloads_earnings}</td>  <td style="border-top:1px solid #cccccc; border-left:1px solid #cccccc">&nbsp;&nbsp;This Month</td><td style="border-top:1px solid #cccccc; border-left:1px solid #cccccc">&nbsp;&nbsp;${$month_referrals_earnings}</td>
			</tr>

			<tr style="height:25px;  background:#f0f0f0">
			  <td style="border-top:1px solid #cccccc;">&nbsp;&nbsp;All Time</td><td style="border-top:1px solid #cccccc; border-left:1px solid #cccccc">&nbsp;&nbsp;${$all_downloads_earnings}</td>  <td style="border-top:1px solid #cccccc; border-left:1px solid #cccccc">&nbsp;&nbsp;All Time</td><td style="border-top:1px solid #cccccc; border-left:1px solid #cccccc">&nbsp;&nbsp;${$all_referrals_earnings}</td>
			</tr>

			<tr style="background:#fffee8; height:25px; color: #00a0c2;">
				<td colspan="4" style="border-top:1px solid #cccccc; text-align:center;">Available Balance:&nbsp;&nbsp;${$total_earnings}</td>
			</tr>


			</table>


			</div>
			<!--End Earn Summary-->



		</div>




<!--Right Panel-->
{include file="sidebar.tpl.php"}
<!--End Right Panel-->


{include file="footer.tpl.php"}